package com.dykj.fireFighting.api.base.analysis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 设备恢复记录  此实体跟硬件那里的一样
 * @Author JacksonTu
 * @Date  2022-04-22 16:53:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "设备恢复记录")
@TableName("fault_recovery_record")
public class FaultRecoveryRecord extends Model<FaultRecoveryRecord> {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
    @ApiModelProperty(value = "id")
	@TableId
	private String id;
	/**
	 * 故障记录id
	 */
    @ApiModelProperty(value = "故障记录id")
	@TableField("dev_his_id")
	private String devHisId;
	/**
	 * 故障恢复时间
	 */
    @ApiModelProperty(value = "故障恢复时间")
	@TableField("hf_time")
	private Date hfTime;
	/**
	 * 是否有效0-无效；1-有效
	 */
    @ApiModelProperty(value = "是否有效0-无效；1-有效")
	@TableField("is_effective")
	private Integer isEffective;
	/**
	 * 单位id
	 */
    @ApiModelProperty(value = "单位id")
	@TableField("unit_id")
	private String unitId;

}
